<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/9/11 0011
  Time: 9:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" pageEncoding="utf-8" %>
<%@ include file="/include/taglibs.jsp" %>
<script src="${path}/static/taoshunda/business/notThrough.js"></script>
<link href="${path}/static/css/public/public.css" rel="stylesheet" type="text/css">

<div class="input-group col-xs-1" style="float: left;margin-bottom: 3px">
    <input type="text" class="form-control entry" id="account" placeholder="注册账号">
</div>
<div class="input-group col-xs-1" style="float: left;margin-bottom: 3px;margin-left: 3px">
    <input type="text" class="form-control entry" id="nameBusiness" placeholder="商家名称">
</div>
<div class="input-group col-xs-1" style="float: left;margin-bottom: 3px;margin-left: 3px">
    <input type="text" class="form-control entry" id="tel" placeholder="商家电话">
</div>
<div class="input-group col-xs-1" style="float: left;margin-bottom: 3px;margin-left: 3px">
    <input type="text" class="form-control entry" id="cityName" placeholder="城市名称">
</div>
<div class="input-group col-xs-1" style="float: left;margin-bottom: 3px;margin-left: 3px">
    <input type="text" class="form-control entry" id="address" placeholder="地址名称">
</div>
<div style="float: left">
    <button type="button" class="btn query_button" id="btnsearch" onclick="queryNotBusiness()"
            style="float: left;width: 150%;margin-bottom: 3px;margin-left: 3px">
        <%--<span class="glyphicon glyphicon-search" aria-hidden="true"></span>--%>
        查询
    </button>
</div>

<table id="table"
       data-toggle="table"
       data-url="${path}/web/business/queryNotBusiness"
       data-toolbar="#toolbar"
       data-side-pagination="server"
       data-pagination="true"
       data-page-list="[5, 10, 20, 50, 100, 200]"
>
    <thead>
    <tr>
        <th data-field="id" data-visible="false">编号</th>
        <th data-field="account">注册账号</th>
        <th data-field="bussName">商家名称</th>
        <th data-field="bussPhone">商家电话</th>
        <th data-field="bussTel">业务电话</th>
        <th data-field="cityName">城市</th>
        <th data-field="adress">地址</th>
        <th data-field="startTime">营业开始时间</th>
        <th data-field="endTime">营业结束时间</th>
        <th data-field="created">申请日期</th>
        <th data-formatter="notThrough" data-events="operate">操作</th>
    </tr>
    </thead>
</table>


<div id="notThroughReason-div" class="slidingmenu box-model box box-info" model-width="45%" model-height="60%">

    <div class="box-header">
        <h3 class="box-title">审核不通过原因</h3>
    </div>

    <div class="form-group" style="margin-top: 5%">
        <label style="margin-left: 2%">拒绝原因:</label>
        <textarea type="text" class="form-control" id="reason" readonly="readonly" name="reason"
                  required="required" style="width: 50%;height: 200px;margin-left: 2%"></textarea>
    </div>

    <div class="box-footer" style="margin-top: 5%">
        <button class="btn close-model" style="background-color: red;color: snow">关闭</button>
    </div>
</div>